<%@ page import="nusarPruebas.DiaHora" %>



<div class="fieldcontain ${hasErrors(bean: diaHoraInstance, field: 'dia', 'error')} required">
	<label for="dia">
		<g:message code="diaHora.dia.label" default="Dia" />
		<span class="required-indicator">*</span>
	</label>
	<g:select name="dia" from="${diaHoraInstance.constraints.dia.inList}" required="" value="${diaHoraInstance?.dia}" valueMessagePrefix="diaHora.dia"/>
</div>

<div class="fieldcontain ${hasErrors(bean: diaHoraInstance, field: 'horaInicio', 'error')} required">
	<label for="horaInicio">
		<g:message code="diaHora.horaInicio.label" default="Hora Inicio" />
		<span class="required-indicator">*</span>
	</label>
	<g:field name="horaInicio" type="number" min="7" max="21" value="${diaHoraInstance.horaInicio}" required=""/>
</div>

<div class="fieldcontain ${hasErrors(bean: diaHoraInstance, field: 'horaFinal', 'error')} required">
	<label for="horaFinal">
		<g:message code="diaHora.horaFinal.label" default="Hora Final" />
		<span class="required-indicator">*</span>
	</label>
	<g:field name="horaFinal" type="number" min="8" max="22" value="${diaHoraInstance.horaFinal}" required=""/>
</div>

<div class="fieldcontain ${hasErrors(bean: diaHoraInstance, field: 'materias', 'error')} ">
	<label for="materias">
		<g:message code="diaHora.materias.label" default="Materias" />
		
	</label>
	
</div>

